// com.lfz.demo.service.impl.SmsServiceImpl
package com.lfz.demo.service.Impl;

import com.lfz.demo.service.SmsService;
import org.springframework.stereotype.Service;

@Service
public class SmsServiceImpl implements SmsService {
    @Override
    public void sendSms(String phone, String content) {
        // 实际需对接短信平台，此处仅模拟打印
        System.out.println("模拟发送短信到 " + phone + "，内容：" + content);
    }
}